Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODFacet


AcquireContentTransform

The AcquireContentTransform method calculates and returns a reference to a transform object that represents the content transform of this facet.

ODTransform AcquireContentTransform (
                                 in ODCanvas biasCanvas);
biasCanvas
kODNULL if the geometry is in platform-normal coordinates, otherwise a reference to the canvas object to whose coordinate space the geometry is biased.
return value
A reference to a transform object that represents the content transform.
DISCUSSION
The content transform describes the content coordinate space of this facet on its canvas. The content transform is calculated by concatenating the internal transform of this facet's frame with this facet's external transform and the internal and external transforms of all containing facets displayed on this facet's canvas.

This method increments the reference count of the returned transform object. When you have finished using that transform object, you should call its Release method.

SEE ALSO
The ODFacet::AcquireExternalTransform method (page 227).
The ODFacet::AcquireFrameTransform method (page 228).
The ODFacet::AcquireWindowContentTransform method (page 230).
"Canvas Coordinates and Window Coordinates" on page 138 in OpenDoc Programmer's Guide.
"The Draw Method of Your Part Editor" on page 158 in OpenDoc Programmer's Guide.
"Clipping and Scrolling Your Content" on page 164 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help